package top.hisoft.pattern.creational.builder.meals;

import top.hisoft.pattern.creational.builder.meals.drink.Coke;
import top.hisoft.pattern.creational.builder.meals.drink.Pepsi;
import top.hisoft.pattern.creational.builder.meals.food.ChickenBurger;
import top.hisoft.pattern.creational.builder.meals.food.VegBurger;

public class MealBuilder {

    public Meal buildVegMeal() {

        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }

    public Meal buildChickenMeal() {

        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }
}
